package com.hecn.controller;

import com.sun.org.apache.xpath.internal.operations.Mod;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 陈朋康
 * @site hecn.gitee.io
 * @discription
 */
@Controller
public class ControllerTest2 {
    @RequestMapping("/test2")
    public String index(Model model){
        model.addAttribute("msg","Controller02");
        //
        return "test";
    }
}
